[INFO] fetching crate bluetooth-rust 0.4.1...
[INFO] fixing bluetooth-rust-0.4.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate bluetooth-rust 0.4.1 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate bluetooth-rust 0.4.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate bluetooth-rust 0.4.1
[INFO] tweaked toml for crates.io crate bluetooth-rust 0.4.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate bluetooth-rust 0.4.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate bluetooth-rust 0.4.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wayland-client v0.31.8
[INFO] [stderr]   Downloaded tlv_parser v0.10.0
[INFO] [stderr]   Downloaded simple_logger v5.2.0
[INFO] [stderr]   Downloaded java-locator v0.1.9
[INFO] [stderr]   Downloaded wayland-cursor v0.31.8
[INFO] [stderr]   Downloaded android-build v0.1.4
[INFO] [stderr]   Downloaded wayland-protocols-wlr v0.3.6
[INFO] [stderr]   Downloaded jni-min-helper v0.4.1
[INFO] [stderr]   Downloaded quick-xml v0.37.4
[INFO] [stderr]   Downloaded custom_debug_derive v0.6.2
[INFO] [stderr]   Downloaded macaddr v1.0.1
[INFO] [stderr]   Downloaded custom_debug v0.6.2
[INFO] [stderr]   Downloaded wayland-protocols-plasma v0.3.6
[INFO] [stderr]   Downloaded wayland-backend v0.3.8
[INFO] [stderr]   Downloaded dbus-tokio v0.7.6
[INFO] [stderr]   Downloaded bytemuck v1.22.0
[INFO] [stderr]   Downloaded dbus-crossroads v0.5.3
[INFO] [stderr]   Downloaded wayland-protocols v0.32.6
[INFO] [stderr]   Downloaded winnow v0.7.6
[INFO] [stderr]   Downloaded bluer v0.17.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 89886096a32f61d1fefd4b2cb3a3ee768eb81611de38a2477143c06a3bc88034
[INFO] running `Command { std: "docker" "start" "89886096a32f61d1fefd4b2cb3a3ee768eb81611de38a2477143c06a3bc88034", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "89886096a32f61d1fefd4b2cb3a3ee768eb81611de38a2477143c06a3bc88034" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89886096a32f61d1fefd4b2cb3a3ee768eb81611de38a2477143c06a3bc88034", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "89886096a32f61d1fefd4b2cb3a3ee768eb81611de38a2477143c06a3bc88034" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libdbus-sys v0.2.7
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling uuid v1.23.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]     Checking macaddr v1.0.1
[INFO] [stderr]     Checking tlv_parser v0.10.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking simple_logger v5.2.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling custom_debug_derive v0.6.2
[INFO] [stderr]     Checking custom_debug v0.6.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking dbus v0.9.10
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling bluer v0.17.3
[INFO] [stderr]     Checking dbus-tokio v0.7.6
[INFO] [stderr]     Checking dbus-crossroads v0.5.3
[INFO] [stderr]     Checking bluetooth-rust v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: Must enable either the `sync` or `async` feature
[INFO] [stdout]  --> src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | compile_error!("Must enable either the `sync` or `async` feature");
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:659:21
[INFO] [stdout]     |
[INFO] [stdout] 659 |                     tokio::select! {
[INFO] [stdout]     |                     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Must enable either the `sync` or `async` feature
[INFO] [stdout]  --> src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | compile_error!("Must enable either the `sync` or `async` feature");
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> src/linux.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |         buf: &mut tokio::io::ReadBuf<'_>,
[INFO] [stdout]    |                   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:104:19
[INFO] [stdout]     |
[INFO] [stdout] 104 |         buf: &mut tokio::io::ReadBuf<'_>,
[INFO] [stdout]     |                   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:659:21
[INFO] [stdout]     |
[INFO] [stdout] 659 |                     tokio::select! {
[INFO] [stdout]     |                     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:200:19
[INFO] [stdout]     |
[INFO] [stdout] 200 |         buf: &mut tokio::io::ReadBuf<'_>,
[INFO] [stdout]     |                   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> src/linux.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |         buf: &mut tokio::io::ReadBuf<'_>,
[INFO] [stdout]    |                   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:104:19
[INFO] [stdout]     |
[INFO] [stdout] 104 |         buf: &mut tokio::io::ReadBuf<'_>,
[INFO] [stdout]     |                   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:658:29
[INFO] [stdout]     |
[INFO] [stdout] 658 |                     let f = tokio::time::timeout(std::time::Duration::from_secs(5), chan.1.recv());
[INFO] [stdout]     |                             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:723:29
[INFO] [stdout]     |
[INFO] [stdout] 723 |                     let f = tokio::time::timeout(std::time::Duration::from_secs(5), chan.1.recv());
[INFO] [stdout]     |                             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> src/linux.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl tokio::io::AsyncRead for BluetoothStream {
[INFO] [stdout]    |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  3 + use futures::io;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 19 - impl tokio::io::AsyncRead for BluetoothStream {
[INFO] [stdout] 19 + impl io::AsyncRead for BluetoothStream {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> src/linux.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl tokio::io::AsyncWrite for BluetoothStream {
[INFO] [stdout]    |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  3 + use futures::io;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 29 - impl tokio::io::AsyncWrite for BluetoothStream {
[INFO] [stdout] 29 + impl io::AsyncWrite for BluetoothStream {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:100:6
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl tokio::io::AsyncRead for BluetoothConnection {
[INFO] [stdout]     |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::io;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 100 - impl tokio::io::AsyncRead for BluetoothConnection {
[INFO] [stdout] 100 + impl io::AsyncRead for BluetoothConnection {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:107:32
[INFO] [stdout]     |
[INFO] [stdout] 107 |             Self::Rfcomm(s) => tokio::io::AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncRead`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 107 -             Self::Rfcomm(s) => tokio::io::AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout] 107 +             Self::Rfcomm(s) => AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:108:31
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Self::L2cap(s) => tokio::io::AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |                               ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncRead`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 108 -             Self::L2cap(s) => tokio::io::AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout] 108 +             Self::L2cap(s) => AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:113:6
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl tokio::io::AsyncWrite for BluetoothConnection {
[INFO] [stdout]     |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::io;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 113 - impl tokio::io::AsyncWrite for BluetoothConnection {
[INFO] [stdout] 113 + impl io::AsyncWrite for BluetoothConnection {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:120:32
[INFO] [stdout]     |
[INFO] [stdout] 120 |             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 120 -             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout] 120 +             Self::Rfcomm(s) => AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:121:31
[INFO] [stdout]     |
[INFO] [stdout] 121 |             Self::L2cap(s) => tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |                               ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 121 -             Self::L2cap(s) => tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout] 121 +             Self::L2cap(s) => AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:130:32
[INFO] [stdout]     |
[INFO] [stdout] 130 |             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 130 -             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout] 130 +             Self::Rfcomm(s) => AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:131:31
[INFO] [stdout]     |
[INFO] [stdout] 131 |             Self::L2cap(s) => tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |                               ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 131 -             Self::L2cap(s) => tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout] 131 +             Self::L2cap(s) => AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:140:32
[INFO] [stdout]     |
[INFO] [stdout] 140 |             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 140 -             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout] 140 +             Self::Rfcomm(s) => AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:141:31
[INFO] [stdout]     |
[INFO] [stdout] 141 |             Self::L2cap(s) => tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |                               ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 141 -             Self::L2cap(s) => tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout] 141 +             Self::L2cap(s) => AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:196:6
[INFO] [stdout]     |
[INFO] [stdout] 196 | impl tokio::io::AsyncRead for BluetoothRfcommSocket {
[INFO] [stdout]     |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::io;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 196 - impl tokio::io::AsyncRead for BluetoothRfcommSocket {
[INFO] [stdout] 196 + impl io::AsyncRead for BluetoothRfcommSocket {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |             tokio::io::AsyncRead::poll_read(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout]     |             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncRead`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 203 -             tokio::io::AsyncRead::poll_read(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout] 203 +             AsyncRead::poll_read(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:213:6
[INFO] [stdout]     |
[INFO] [stdout] 213 | impl tokio::io::AsyncWrite for BluetoothRfcommSocket {
[INFO] [stdout]     |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::io;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 213 - impl tokio::io::AsyncWrite for BluetoothRfcommSocket {
[INFO] [stdout] 213 + impl io::AsyncWrite for BluetoothRfcommSocket {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |             tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout]     |             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 220 -             tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout] 220 +             AsyncWrite::poll_write(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |             tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(conn), cx)
[INFO] [stdout]     |             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 234 -             tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(conn), cx)
[INFO] [stdout] 234 +             AsyncWrite::poll_flush(std::pin::Pin::new(conn), cx)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |             tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(conn), cx)
[INFO] [stdout]     |             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 245 -             tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(conn), cx)
[INFO] [stdout] 245 +             AsyncWrite::poll_shutdown(std::pin::Pin::new(conn), cx)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BluetoothRfcommProfile` in the crate root
[INFO] [stdout]    --> src/linux.rs:520:24
[INFO] [stdout]     |
[INFO] [stdout] 520 |     ) -> Result<crate::BluetoothRfcommProfile, String> {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:298:10
[INFO] [stdout]     |
[INFO] [stdout] 296 | #[cfg(all(target_os = "linux", feature = "async"))]
[INFO] [stdout]     |                                ----------------- the item is gated behind the `r#async` feature
[INFO] [stdout] 297 | /// A bluetooth profile for rfcomm channels
[INFO] [stdout] 298 | pub type BluetoothRfcommProfile = linux::BluetoothRfcommProfile;
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:302:10
[INFO] [stdout]     |
[INFO] [stdout] 300 | #[cfg(all(target_os = "windows", feature = "async"))]
[INFO] [stdout]     |           --------------------- the item is gated behind the `windows` feature
[INFO] [stdout] 301 | /// A bluetooth profile for rfcomm channels
[INFO] [stdout] 302 | pub type BluetoothRfcommProfile = windows::BluetoothRfcommProfile;
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:306:10
[INFO] [stdout]     |
[INFO] [stdout] 304 | #[cfg(all(target_os = "android", feature = "sync"))]
[INFO] [stdout]     |           --------------------- the item is gated behind the `android` feature
[INFO] [stdout] 305 | /// A bluetooth profile for rfcomm channels
[INFO] [stdout] 306 | pub type BluetoothRfcommProfile = android::BluetoothRfcommProfile;
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:603:12
[INFO] [stdout]     |
[INFO] [stdout] 603 |         s: tokio::sync::mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout]     |            ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::sync::mpsc;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `mpsc`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 603 -         s: tokio::sync::mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout] 603 +         s: mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:642:12
[INFO] [stdout]     |
[INFO] [stdout] 642 |         s: tokio::sync::mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout]     |            ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::sync::mpsc;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `mpsc`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 642 -         s: tokio::sync::mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout] 642 +         s: mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:653:32
[INFO] [stdout]     |
[INFO] [stdout] 653 |                 let mut chan = tokio::sync::mpsc::channel(5);
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::sync::mpsc;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `mpsc`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 653 -                 let mut chan = tokio::sync::mpsc::channel(5);
[INFO] [stdout] 653 +                 let mut chan = mpsc::channel(5);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:716:32
[INFO] [stdout]     |
[INFO] [stdout] 716 |                 let mut chan = tokio::sync::mpsc::channel(5);
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::sync::mpsc;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `mpsc`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 716 -                 let mut chan = tokio::sync::mpsc::channel(5);
[INFO] [stdout] 716 +                 let mut chan = mpsc::channel(5);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:200:19
[INFO] [stdout]     |
[INFO] [stdout] 200 |         buf: &mut tokio::io::ReadBuf<'_>,
[INFO] [stdout]     |                   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bluetooth-rust` (lib test) due to 30 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:658:29
[INFO] [stdout]     |
[INFO] [stdout] 658 |                     let f = tokio::time::timeout(std::time::Duration::from_secs(5), chan.1.recv());
[INFO] [stdout]     |                             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:723:29
[INFO] [stdout]     |
[INFO] [stdout] 723 |                     let f = tokio::time::timeout(std::time::Duration::from_secs(5), chan.1.recv());
[INFO] [stdout]     |                             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> src/linux.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl tokio::io::AsyncRead for BluetoothStream {
[INFO] [stdout]    |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  3 + use futures::io;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 19 - impl tokio::io::AsyncRead for BluetoothStream {
[INFO] [stdout] 19 + impl io::AsyncRead for BluetoothStream {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]   --> src/linux.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl tokio::io::AsyncWrite for BluetoothStream {
[INFO] [stdout]    |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  3 + use futures::io;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 29 - impl tokio::io::AsyncWrite for BluetoothStream {
[INFO] [stdout] 29 + impl io::AsyncWrite for BluetoothStream {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:100:6
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl tokio::io::AsyncRead for BluetoothConnection {
[INFO] [stdout]     |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::io;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 100 - impl tokio::io::AsyncRead for BluetoothConnection {
[INFO] [stdout] 100 + impl io::AsyncRead for BluetoothConnection {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:107:32
[INFO] [stdout]     |
[INFO] [stdout] 107 |             Self::Rfcomm(s) => tokio::io::AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncRead`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 107 -             Self::Rfcomm(s) => tokio::io::AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout] 107 +             Self::Rfcomm(s) => AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:108:31
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Self::L2cap(s) => tokio::io::AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |                               ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncRead`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 108 -             Self::L2cap(s) => tokio::io::AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout] 108 +             Self::L2cap(s) => AsyncRead::poll_read(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:113:6
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl tokio::io::AsyncWrite for BluetoothConnection {
[INFO] [stdout]     |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::io;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 113 - impl tokio::io::AsyncWrite for BluetoothConnection {
[INFO] [stdout] 113 + impl io::AsyncWrite for BluetoothConnection {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:120:32
[INFO] [stdout]     |
[INFO] [stdout] 120 |             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 120 -             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout] 120 +             Self::Rfcomm(s) => AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:121:31
[INFO] [stdout]     |
[INFO] [stdout] 121 |             Self::L2cap(s) => tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |                               ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 121 -             Self::L2cap(s) => tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout] 121 +             Self::L2cap(s) => AsyncWrite::poll_write(std::pin::Pin::new(s), cx, buf),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:130:32
[INFO] [stdout]     |
[INFO] [stdout] 130 |             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 130 -             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout] 130 +             Self::Rfcomm(s) => AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:131:31
[INFO] [stdout]     |
[INFO] [stdout] 131 |             Self::L2cap(s) => tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |                               ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 131 -             Self::L2cap(s) => tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout] 131 +             Self::L2cap(s) => AsyncWrite::poll_flush(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:140:32
[INFO] [stdout]     |
[INFO] [stdout] 140 |             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 140 -             Self::Rfcomm(s) => tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout] 140 +             Self::Rfcomm(s) => AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:141:31
[INFO] [stdout]     |
[INFO] [stdout] 141 |             Self::L2cap(s) => tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |                               ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 141 -             Self::L2cap(s) => tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout] 141 +             Self::L2cap(s) => AsyncWrite::poll_shutdown(std::pin::Pin::new(s), cx),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:196:6
[INFO] [stdout]     |
[INFO] [stdout] 196 | impl tokio::io::AsyncRead for BluetoothRfcommSocket {
[INFO] [stdout]     |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::io;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 196 - impl tokio::io::AsyncRead for BluetoothRfcommSocket {
[INFO] [stdout] 196 + impl io::AsyncRead for BluetoothRfcommSocket {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |             tokio::io::AsyncRead::poll_read(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout]     |             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncRead;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncRead`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 203 -             tokio::io::AsyncRead::poll_read(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout] 203 +             AsyncRead::poll_read(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:213:6
[INFO] [stdout]     |
[INFO] [stdout] 213 | impl tokio::io::AsyncWrite for BluetoothRfcommSocket {
[INFO] [stdout]     |      ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::io;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 213 - impl tokio::io::AsyncWrite for BluetoothRfcommSocket {
[INFO] [stdout] 213 + impl io::AsyncWrite for BluetoothRfcommSocket {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |             tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout]     |             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 220 -             tokio::io::AsyncWrite::poll_write(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout] 220 +             AsyncWrite::poll_write(std::pin::Pin::new(conn), cx, buf)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |             tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(conn), cx)
[INFO] [stdout]     |             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 234 -             tokio::io::AsyncWrite::poll_flush(std::pin::Pin::new(conn), cx)
[INFO] [stdout] 234 +             AsyncWrite::poll_flush(std::pin::Pin::new(conn), cx)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |             tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(conn), cx)
[INFO] [stdout]     |             ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]     |
[INFO] [stdout]   3 + use futures::AsyncWrite;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `AsyncWrite`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 245 -             tokio::io::AsyncWrite::poll_shutdown(std::pin::Pin::new(conn), cx)
[INFO] [stdout] 245 +             AsyncWrite::poll_shutdown(std::pin::Pin::new(conn), cx)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `BluetoothRfcommProfile` in the crate root
[INFO] [stdout]    --> src/linux.rs:520:24
[INFO] [stdout]     |
[INFO] [stdout] 520 |     ) -> Result<crate::BluetoothRfcommProfile, String> {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:298:10
[INFO] [stdout]     |
[INFO] [stdout] 296 | #[cfg(all(target_os = "linux", feature = "async"))]
[INFO] [stdout]     |                                ----------------- the item is gated behind the `r#async` feature
[INFO] [stdout] 297 | /// A bluetooth profile for rfcomm channels
[INFO] [stdout] 298 | pub type BluetoothRfcommProfile = linux::BluetoothRfcommProfile;
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:302:10
[INFO] [stdout]     |
[INFO] [stdout] 300 | #[cfg(all(target_os = "windows", feature = "async"))]
[INFO] [stdout]     |           --------------------- the item is gated behind the `windows` feature
[INFO] [stdout] 301 | /// A bluetooth profile for rfcomm channels
[INFO] [stdout] 302 | pub type BluetoothRfcommProfile = windows::BluetoothRfcommProfile;
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/lib.rs:306:10
[INFO] [stdout]     |
[INFO] [stdout] 304 | #[cfg(all(target_os = "android", feature = "sync"))]
[INFO] [stdout]     |           --------------------- the item is gated behind the `android` feature
[INFO] [stdout] 305 | /// A bluetooth profile for rfcomm channels
[INFO] [stdout] 306 | pub type BluetoothRfcommProfile = android::BluetoothRfcommProfile;
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:603:12
[INFO] [stdout]     |
[INFO] [stdout] 603 |         s: tokio::sync::mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout]     |            ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::sync::mpsc;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `mpsc`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 603 -         s: tokio::sync::mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout] 603 +         s: mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:642:12
[INFO] [stdout]     |
[INFO] [stdout] 642 |         s: tokio::sync::mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout]     |            ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::sync::mpsc;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `mpsc`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 642 -         s: tokio::sync::mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout] 642 +         s: mpsc::Sender<super::MessageToBluetoothHost>,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:653:32
[INFO] [stdout]     |
[INFO] [stdout] 653 |                 let mut chan = tokio::sync::mpsc::channel(5);
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::sync::mpsc;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `mpsc`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 653 -                 let mut chan = tokio::sync::mpsc::channel(5);
[INFO] [stdout] 653 +                 let mut chan = mpsc::channel(5);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope
[INFO] [stdout]    --> src/linux.rs:716:32
[INFO] [stdout]     |
[INFO] [stdout] 716 |                 let mut chan = tokio::sync::mpsc::channel(5);
[INFO] [stdout]     |                                ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   3 + use std::sync::mpsc;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `mpsc`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 716 -                 let mut chan = tokio::sync::mpsc::channel(5);
[INFO] [stdout] 716 +                 let mut chan = mpsc::channel(5);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bluetooth-rust` (lib) due to 30 previous errors
[INFO] running `Command { std: "docker" "inspect" "89886096a32f61d1fefd4b2cb3a3ee768eb81611de38a2477143c06a3bc88034", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89886096a32f61d1fefd4b2cb3a3ee768eb81611de38a2477143c06a3bc88034", kill_on_drop: false }`
[INFO] [stdout] 89886096a32f61d1fefd4b2cb3a3ee768eb81611de38a2477143c06a3bc88034
